﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SuperX.Common.AppConfiguration
{
    //
    public class RunnerCheckCfg
    {
        /// <summary>
        ///
        /// </summary>
        public int ListenMemoryFrequency { get; set; }

        //
        public bool DefaultCheck { get; set; }

        //
        public int MemoryRiseTimes { get; set; } = 3;

        //
        public int CupOverflowTimes { get; set; } = 3;

        //
        public double CpuRateLimit { get; set; } = 30.0;

        //
        public bool DynamicCheckMem { get; set; }

        //
        public double MemoryLimit { get; set; } = 1536.0;

        //
        public int StopRuntimeWaitingLimit { get; set; } = 30000;
    }
}